package org.example.lotterysystem.service;

import jakarta.validation.constraints.NotNull;
import org.example.lotterysystem.common.domain.dto.DrawPrizeDTO;
import org.example.lotterysystem.common.domain.dto.ShowWinningRecordsDTO;
import org.example.lotterysystem.common.domain.vo.WinningRecordVO;
import org.example.lotterysystem.mapper.dataobject.WinningRecordDO;

import java.util.List;

public interface DrawPrizeService {
    void drawPrize(DrawPrizeDTO drawPrizeDTO);

    boolean checkDrawPrizeParam(DrawPrizeDTO param);

    List<WinningRecordDO> saveWinnerRecords(DrawPrizeDTO param);

    void deleteRecords(@NotNull(message = "活动id不能为空") Long activityId, @NotNull(message = "奖品id不能为空") Long prizeId);

    List<WinningRecordVO> getRecords(ShowWinningRecordsDTO param);
}
